package cn.wsalix.spring.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

import cn.wsalix.config.Module;
import cn.wsalix.spring.config.show.ConfigShow;

@Configuration
//@EnableJpaAuditing
public class WowConfig {
	@Bean(initMethod = "setup", destroyMethod = "cleanup")
	public ConfigShow course() {
		ConfigShow course = new ConfigShow();
		course.setModule(module());
		return course;
	}

	private Module module() {
		// TODO Auto-generated method stub
		return null;
	}
}
